package com.ubxtech.jdk21.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 区域Link表(各区域间关系，例；楼栋包含楼层)
 * </p>
 *
 * @author victor.xiao
 * @since 2024-03-26 20:50
 */
@Getter
@Setter
@TableName("basic_slave_area_link")
@Tag(name = "BasicSlaveAreaLink对象", description = "区域Link表(各区域间关系，例；楼栋包含楼层)")
public class BasicSlaveAreaLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(title = "区域LinkID")
    @TableId("id")
    private String id;

    @Schema(title = "子区域ID")
    @TableField("child_id")
    private String childId;

    @Schema(title = "父区域ID")
    @TableField("parent_id")
    private String parentId;

    @Schema(title = "区域Link类型")
    @TableField("type")
    private Integer type;

    @Schema(title = "创建用户")
    @TableField("created_user")
    private String createdUser;

    @Schema(title = "创建时间")
    @TableField("created_time")
    private Long createdTime;

    @Schema(title = "修改用户")
    @TableField("modified_user")
    private String modifiedUser;

    @Schema(title = "修改时间")
    @TableField("modified_time")
    private Long modifiedTime;

    @Schema(title = "是否删除 0-否 1-是")
    @TableField("is_delete")
    private Integer isDelete;

    @Schema(title = "备注")
    @TableField("remark")
    private String remark;

    @Schema(title = "版本号")
    @TableField("version")
    private Integer version;


}
